
<table class="bordered" width="770">
    <thead>
    <tr>
        <th>View Stock Sales Payments </th>
		<th>Page per Record: 10</th>
    </tr>
    </thead>
    <tr>
    <form action="" method="post" name="frmoutstanding" id="frmoutstanding">
    	<td colspan="2">Bill ID:&nbsp;&nbsp;&nbsp;&nbsp;
   	      <input type="text" name="txtbill" id="txtbill" value="<?php echo @$billNumber=$_REQUEST['txtbill'];?>" onchange="frmSubmit('frmoutstanding','index.php?page=oustanding_list&action=oustanding_list');" />  <input type="submit" name="btnsubmit" id="btnsubmit" value="Search"  /> </td>
    </form>
    </tr>
    <tr>
        <?php 
			if(isset($_REQUEST['msgStatus'])){
				echo "<td colspan='2'><span class='red'>". $_REQUEST['msgStatus']."</span></td>";
			}
		?>
    </tr>
</table>
<table class="bordered" width="770">
    <thead>

    <tr>
        <th>Bill</th>
        <th>Date</th>
        <th>Next Date</th>        
        <th>Customer</th>
        <th>Amount</th>
        <th>Paid</th>
        <th>Balance</th>
        <th>Mode</th>
        <th>Action</th>
    </tr>
    </thead>
    <?php
		@$billNumber=$_REQUEST['txtbill'];
		if($billNumber==""){
			include("search_outstanding/default.php");
		}else{
			include("search_outstanding/search_bill.php");
		}
    ?>
    